/**
 * 
 */
package com.cmpanyandi.elearning.utils.db.query;

/**
 * General where clause query condition.
 * @author wojtek
 *
 */
public abstract class QueryCondition {
    
    protected static final String Q_MARK = "?";
    private String propertyName;
    
    private String value;
    
    
    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }


    public void setValue(String value) {
        this.value = value;
    }


    public String getPropertyName() {
        return propertyName;
    }


    public String getValue() {
        return value;
    }


    /**
     * This method return condition text.
     * @return - condition text.
     */
    public abstract String getConditionText();
}
